#ifndef GUIEVENTHANDLER_H_
#define GUIEVENTHANDLER_H_

#include "EventHandler.h"

/**
 * Handles GUI events from Irrlicht internally. Inherits from EventHandler.
 */
class GUIEventHandler : public EventHandler {
	public:
		/// Constructs GUIEventHandler
		GUIEventHandler();
		/**
		 * Checks whether the event is a GUI event, and handles it if so.
		 * @return True if the event was handled, false if it was not.
		 */
		bool OnEvent(const SEvent& event);
		/// Destructs GUIEventHandler
		virtual ~GUIEventHandler();
};

#endif /*GUIEVENTHANDLER_H_*/
